// dlg.txt

//		mark_quest_dest(zone,x,y,layer,quest);
//		cancel_out_fight(0,short kill_enc);
//		make_outdoor_enc(short x,short y,short which_enc);
//		set_out_fight_field(short which_field);
// 				which_field is 0-20

begintalkscript;

variables;

short this_sec = 13;

begintalknode;
	tag = 1;
	condition = get_sdf(100 + this_sec,1) == 0;
	text1 = "There are far fewer clans up here in the High Litha. It's too barren and too cold. You find a few longhouses huddled together at this crossroads. A few poor families of hunters live up here.";
	text2 = "When you come into view, there is no friendly response. Everyone, the hunters, the guards, all of them run into their homes. They slam shut the doors and bar them. They refuse to deal with you.";
	code =
		sf(100 + this_sec,1,1);
	break;
	
begintalknode;
	tag = 2;
	condition = get_sdf(100 + this_sec,2) == 0;
	text1 = "You find an abandoned wagon that somehow became very lost.";
	text2 = "Most of the supplies it was carrying have been looted. Under one of the wheels, however, you are fortunate enough to find a scroll tube.";
	code =
		sf(100 + this_sec,2,1);
		reward_give(405);
	break;

begintalknode;
	tag = 3;
	condition = get_sdf(100 + this_sec,3) == 0;
	text1 = "__";
	code =
		sf(100 + this_sec,3,1);
	break;

begintalknode;
	tag = 4;
	condition = get_sdf(100 + this_sec,4) == 0;
	text1 = "__";
	code =
		sf(100 + this_sec,4,1);
	break;

begintalknode;
	tag = 5;
	condition = get_sdf(100 + this_sec,5) == 0;
	text1 = "__";
	code =
		sf(100 + this_sec,5,1);
	break;

begintalknode;
	tag = 6;
	condition = get_sdf(100 + this_sec,6) == 0;
	text1 = "__";
	code =
		sf(100 + this_sec,6,1);
	break;

begintalknode;
	tag = 7;
	condition = get_sdf(100 + this_sec,7) == 0;
	text1 = "__";
	code =
		sf(100 + this_sec,7,1);
	break;

begintalknode;
	tag = 8;
	condition = get_sdf(100 + this_sec,8) == 0;
	text1 = "__";
	code =
		sf(100 + this_sec,8,1);
	break;

begintalknode;
	tag = 9;
	condition = get_sdf(100 + this_sec,9) == 0;
	text1 = "__";
	code =
		sf(100 + this_sec,9,1);
	break;

begintalknode;
	tag = 10;
	condition = get_sdf(100 + this_sec,10) == 0;
	text1 = "__";
	code =
		sf(100 + this_sec,10,1);
	break;

begintalknode;
	tag = 11;
	condition = get_sdf(100 + this_sec,11) == 0;
	text1 = "__";
	code =
		sf(100 + this_sec,11,1);
	break;

begintalknode;
	tag = 12;
	condition = get_sdf(100 + this_sec,12) == 0;
	text1 = "__";
	code =
		sf(100 + this_sec,12,1);
	break;

// MIXED

begintalknode;
	tag = 13;
	condition = 1;
	text1 = "The _demonstration_ of these old Lithan warriors is complete. They decided that it was time to end their lives. Then they did it.";
	text2 = "You search them, looking for some sign of who they were or what they intended to achieve with this meaningless display. You find nothing of use.";

begintalknode;
	tag = 14;
	condition = 1;
	text1 = "__";

begintalknode;
	tag = 15;
	condition = 1;
	text1 = "__";

begintalknode;
	tag = 16;
	condition = 1;
	text1 = "__";

begintalknode;
	tag = 17;
	condition = 1;
	text1 = "__";

begintalknode;
	tag = 18;
	condition = 1;
	text1 = "__";

begintalknode;
	tag = 19;
	condition = 1;
	text1 = "__";

begintalknode;
	tag = 20;
	condition = 1;
	text1 = "__";

begintalknode;
	tag = 21;
	condition = 1;
	text1 = "__";

begintalknode;
	tag = 22;
	condition = 1;
	text1 = "__";

////

begintalknode;
	tag = 30;
	state = -1;
	nextstate = 10;
	condition = 1;
	question = "Name";
	text1 = "A group of shaggy warriors are walking up the Pilgrimage Road. They wear heavy furs, coated with snow, and weapons hang from all over their bodies. They mostly head north, but they are occasionally distracted by game.";
	text2 = "When you come into view, they freeze. When you get closer, they turn and walk quickly up the road to the north.";
	code =
		cancel_out_fight(1,1);
	break;
	
begintalknode;
	state = 10;
	nextstate = -1;
	condition = 1;
	question = "_Wait!_";
	text1 = "You know that they heard you. They don't stop.";

begintalknode;
	state = 10;
	nextstate = -1;
	condition = 1;
	question = "Watch them go.";
	text1 = "You continue to go where you were going. The warriors keep moving toward the higher peaks. Soon, they are lost in the snow.";
	action = END_TALK;
	
begintalknode;
	state = 10;
	nextstate = -1;
	condition = 1;
	question = "Run after them.";
	text1 = "They are paying close attention to you. The moment you start to run, they run too. They have lived their entire lives up here, and the altitude is making you short of breath. They easily outpace you.";
	text2 = "Soon, they are lost in the snow, heading toward the higher peaks.";
	action = END_TALK;

	
//

begintalknode;
	tag = 40;
	state = -1;
	nextstate = 40;
	condition = 1;
	question = "Name";
	text1 = "There is a band of warriors standing here. Not hunting. They just stand still in a group. When you get close, you see that they are tall, thin warriors. All High Lithans, all very old, just waiting here, as the snow coats them.";
	text2 = "Then, when they see who you are, they move. They walk forward and block your path.";

begintalknode;
	state = 40;
	nextstate = -1;
	condition = 1;
	question = "Walk around them.";
	text1 = "You try to move around them. Then they start to run. For old warriors, moving over ice, they are extremely fast and nimble. However you try to move, they block your path.";

begintalknode;
	state = 40;
	nextstate = -1;
	condition = 1;
	question = "Turn back.";
	text1 = "You turn and quickly move away. For a moment, you think you get away. Then you see shadowy figures, in the snow, running past you. Soon, you find the old warriors blocking your way again.";

begintalknode;
	state = 40;
	nextstate = 41;
	condition = 1;
	question = "_Let me by._";
	text1 = "One of the old warriors steps forward. You note his bald head, wrinkles, and white, patchy beard. He says, _You must turn back, Haven. Go south. Go home. These are the private lands of the Ro. Sacred lands._";

begintalknode;
	state = 41;
	nextstate = -1;
	condition = 1;
	question = "_You are a vassal of Haven. You have no lands that are private from me._";
	text1 = "He raises his weapon. _We say it is not so._";

begintalknode;
	state = 41;
	nextstate = -1;
	condition = 1;
	question = "_Why? What happens if I keep going?_";
	text1 = "_Only disaster. We have tried to stop you. We do it for the good of us all. Now you must leave._";

begintalknode;
	state = 41;
	nextstate = -1;
	condition = 1;
	question = "_I am here on the orders of my queen._";
	text1 = "_Does not matter. Deal with her. We say you must go._";

begintalknode;
	state = 41;
	nextstate = -1;
	condition = 1;
	question = "_Fine. I'll leave._ Lie.";
	text1 = "You stare at them. They stare at you. They don't believe you, but they aren't sure if they want to fight. Finally, he says, _We hold you to your word. We will not kill you. We only say you must go._";
	text2 = "They turn and fade into the snow.";
	action = END_TALK;
	code =
		ro_faction(-2);
		cancel_out_fight(1,1);
	break;
	
begintalknode;
	state = 41;
	nextstate = -1;
	condition = 1;
	question = "_I will go where I will._ Push past them.";
	text1 = "You step up to the old, wiry warrior. Then you shove him out of the way. He slips on the ice and falls into the snow. The other warriors raise their blades. He holds up his hand. They stop.";
	text2 = "He rises to his feet and dusts himself off. _Fine, then. We tried. Others will speak stronger. Come._";
	text3 = "The warriors turn and fade into the snow.";
	action = END_TALK;
	code =
		ro_faction(1);
		cancel_out_fight(1,1);
	break;

begintalknode;
	state = 41;
	nextstate = -1;
	condition = 1;
	question = "_You will pay for your insolence!_ Attack.";
	text1 = "You draw your weapon and charge the old Lithans. The old man shouts, _We have lived long enough! We die happily, knowing that we are a good example to the young!_ Then they face their fate.";
	action = END_TALK;
	code =
		ro_faction(-2);
		violence(3);
	break;


	
//

begintalknode;
	tag = 70;
	state = -1;
	nextstate = 70;
	condition = 1;
	question = "Name";
	text1 = ".";
	text2 = "";
	text5 = ".";
	action = INTRO;

begintalknode;
	state = 70;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";

begintalknode;
	state = 70;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";

begintalknode;
	state = 70;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";

begintalknode;
	state = 70;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";

begintalknode;
	state = 70;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";

begintalknode;
	state = 70;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";

begintalknode;
	state = 70;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";

begintalknode;
	state = 70;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";

begintalknode;
	state = 70;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";


//

begintalknode;
	tag = 100;
	state = -1;
	nextstate = 100;
	condition = 1;
	question = "Name";
	text1 = ".";
	text2 = "";
	text5 = ".";
	action = INTRO;

begintalknode;
	state = 100;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";

//

begintalknode;
	tag = 130;
	state = -1;
	nextstate = 130;
	condition = 1;
	question = "Name";
	text1 = ".";
	text2 = "";
	text5 = ".";
	action = INTRO;

begintalknode;
	state = 130;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";

//

begintalknode;
	tag = 160;
	state = -1;
	nextstate = 160;
	condition = 1;
	question = "Name";
	text1 = ".";
	text2 = "";
	text5 = ".";
	action = INTRO;

begintalknode;
	state = 160;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";
		
//

begintalknode;
	tag = 190;
	state = -1;
	nextstate = 190;
	condition = 1;
	question = "Name";
	text1 = ".";
	text2 = "";
	text5 = ".";
	action = INTRO;

begintalknode;
	state = 190;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";
				